package com.boot.project.service;

import com.boot.project.domain.CourtDO;
import com.boot.project.domain.CourtTimeDO;

import java.util.List;
import java.util.Map;

public interface CourtService {
    List<CourtDO> getCourt(String dateTime);
    List<CourtTimeDO> getCourtTime(Long courtId);
    Map<String, Object> saveCourt(CourtDO courtDO);
    Map<String, Object> saveCourtTime(CourtTimeDO courtTimeDO);
    Map<String, Object> updateCourt(CourtDO courtDO);
    Map<String, Object> updateCourtTime(CourtTimeDO courtTimeDO);
    Map<String, Object> deleteCourt(Long id);
    Map<String, Object> deleteCourtTime(Long id);
    Map<String, Object> changeStatus(Long courtTimeId);
    Map<String, Object> getStatus(Long courtTimeId);
    Integer batchSave(List<CourtDO> courtDOS);
    List<CourtTimeDO> getBatchCourtTime(Long courtId);
    Integer updateCourtDate(CourtDO courtDO);
    Integer updateCourtTimeStatus(Long courtId);
    Map<String, Object> changeStatusNormal(Long courtTimeId);

}
